//
//  SingerTypeTableViewCell.m
//  DolphinMusic
//
//  Created by dllo on 15/3/24.
//  Copyright (c) 2015年 蓝鸥科技. All rights reserved.
//

#import "SingerTypeTableViewCell.h"

@implementation SingerTypeTableViewCell

- (void)dealloc
{
    [_address release];
    [_singerType release];
    [_imageView1 release];
    [_typeLabel release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.typeLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.typeLabel];
        [_typeLabel release];
        
        self.imageView1 = [[UIImageView alloc] init];
        [self.contentView addSubview:self.imageView1];
        [_imageView1 release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    self.typeLabel.frame = CGRectMake(20, 0, self.contentView.frame.size.width - 70, 70);
    self.typeLabel.font = [UIFont systemFontOfSize:17];
    self.typeLabel.text = self.singerType;
    
    self.imageView1.frame = CGRectMake(self.contentView.frame.size.width - 40, 20, 30, 30);
    self.imageView1.image = [UIImage imageNamed:@"arrow.png"];
    
    
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
